<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<title>收货信息</title>
<style type="text/css">
.order_txt {
	width: 500px;
}
</style>


<h3 id="main-title">订单明细</h3>
<table id="shoppingCart">
	<tr>
		<th>唱片</th>
		<th>单价</th>
		<th>数量</th>
		<th>小计</th>
	</tr>
	<c:forEach var="i" items="${shoppingCarts }">
		<tr>
			<td>${i.album.title }</td>
			<td>${i.album.price }</td>
			<td>${i.quantity }</td>
			<td>${i.subtotal}</td>
		</tr>
	</c:forEach>
	<tr>
		<td colspan="2">总计</td>
		<td>总数量:${conut}</td>
		<td>总价格:${price}</td>
	</tr>
</table>
<h3 id="main-title">收货人信息</h3>
<form action="settleAccounts" method="post">
	<input type="hidden" name="id" value="${user.id}" />
	<table>
		<tr>
			<td>收货人：</td>
			<td><input type="text" name="consignee" value=""
				class="order_txt" /></td>
		</tr>
		<tr>
			<td>联系地址：</td>
			<td><input type="text" name="address" value="" class="order_txt" /></td>
		</tr>
		<tr>
			<td>联系电话：</td>
			<td><input type="text" name="phone" value="" class="order_txt" /></td>
		</tr>
		<tr>
			<td>Email：</td>
			<td><input type="text" name="email" value="" class="order_txt" /></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="确定购买" /></td>
		</tr>
	</table>
</form>

